package com.youi.service;

import com.youi.pojo.dto.AddressDto;
import com.youi.entity.Address;

import java.util.List;

/**
 * @version 1.0
 * @Author: xxf
 * @CreateDate: 2020/10/28 20:04
 */
public interface AddressService {
    /**
     * 根据用户uid查询收货地址信息
     * @param uId
     * @return
     */
    List<Address> selectByUId(String uId);

    /**
     * 添加收货地址信息
     * @param addressDto
     * @return
     */
    int insert(AddressDto addressDto);
}
